package com.cys.mybatis.reflection.wrapper;

import com.cys.mybatis.reflection.MetaObject;

/**
 * @Author: cys
 * @description:对象包装工厂
 * @CreateTime: 2024-10-29  09:52
 * @Version: 1.0
 */
public interface ObjectWrapperFactory {
    /**
     * 判断有没有包装器
     */
    boolean hasWrapperFor(Object object);

    /**
     * 得到包装器
     */
    ObjectWrapper getWrapperFor(MetaObject metaObject, Object object);
}
